const connection = require('../database'); // 确保您有数据库连接

function findUser(id, callback) {
    const query = `
    SELECT *
    FROM users
    WHERE id = ?`
    connection.query(query, [id], callback)
}
module.exports = { findUser }